package com.sskj.mine.presenter;

import com.lzy.okgo.model.Response;
import com.sskj.common.base.HttpData;
import com.sskj.lib.http.JsonCallBack;
import com.sskj.mine.bean.SysBean;
import com.sskj.mine.http.HttpConfig;
import com.sskj.mine.ui.activity.MineAboutUsLxActivity;
import com.sskj.mine.ui.activity.MineAboutUsYjActivity;

import java.util.List;

public class MineAboutUsYjPresenter extends BasePresenter<MineAboutUsYjActivity> {

    public void getData() {
        httpService.getSys("9")
                .execute(new JsonCallBack<HttpData<List<SysBean>>>() {
                    @Override
                    public void onSuccess(Response<HttpData<List<SysBean>>> response) {
                        HttpData<List<SysBean>> httpData = response.body();
                        if (httpData.getStatus() == HttpConfig.OK) {

                        }
                    }
                });
    }
}
